
<style type="text/css">
.top_nav_d{background: none repeat scroll 0% 0% #373637;width: 100%;
height: 40px; display:block;  }
.brand img{ border-radius:15px; width:280px; height:50px;}
.page_head { float:left; }
.page_head li{float:left; line-height:40px; margin-right:40px; color:#EDEDED; font-size:12px;}
.user_button{height:40px; float:right;margin-left:100px;}
.user_button button{  }
.user_button span{  padding:0px 15px;color:#EDEDED;  }
.navbar .btn{ margin-top: 3px;  }
.navbar .nav {left:100px;  }
.navbar .nav li a{color: #1B1B1B; font-size:16px;}

.tabs{ border: 1px solid #DDD; min-height:500px; border-radius:5px;}
.tab-content{ padding:15px;}
</style>



<div class="navbar navbar-fixed-top">
<div class="top_nav_d">  
		
<div class="pull-right" style=" width:1170px; margin:0px auto; float:none">
	<div class="user_button">
		<if condition="sp_is_user_login()">
			<span>欢迎您登录&nbsp;&nbsp; {$user.user_nicename}  </span>
			<button type="button" class="btn btn-primary btn-lg " data_url="{:u('user/center/index')}" ><i class="fa fa-user"></i> &nbsp;个人中心</button>
			<button type="button" class="btn btn-primary btn-lg " data_url="{:u('user/index/logout')}"><i class="fa fa-sign-out"></i> &nbsp;退出</button>	
		<else />	
		
 			<button type="button" class="btn btn-primary btn-lg" data_url="{:u('user/login/index')}"  ><i class="fa fa-sign-in"></i> &nbsp;登录</button>
			<button type="button" class="btn btn-default btn-lg " data_url="{:u('user/register/index')}" ><i class="fa fa-user"></i> &nbsp;注册</button>
 			
 		</if>
 	</div>
   <ul class="page_head">
   		<li>昨日订单数：3710</li>
 		<li>广告主数量：1300</li>
   		<li>流量主数量：10</li>
   </ul>
	
</div>

 </div>
<div style="clear:both;"></div>
   <div class="navbar-inner" style="display:none;">
     <div class="container">
       <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </a>
       <a class="brand" href="__ROOT__/"><img src="__TMPL__Public//images/logo.png" alt="微推平台"/></a>
       <div class="nav-collapse collapse" id="main-menu">
       	<?php
			$effected_id="";
		  	$filetpl="<a href='\$href' target='\$target'>\$label</a>";
		  	$foldertpl="<a href='\$href' target='\$target' class='dropdown-toggle' data-toggle='dropdown'>\$label <b class='caret'></b></a>";
		  	$ul_class="dropdown-menu" ;
		  	$li_class="" ;
		  	$style="nav";
		  	$showlevel=6;
		  	$dropdown='dropdown';
		  	echo sp_get_menu("main",$effected_id,$filetpl,$foldertpl,$ul_class,$li_class,$style,$showlevel,$dropdown);
		?>
		
		
		
       </div>
     </div>
   </div>
 </div>

 